export function getUserAgent() {
  if (process.client) {
    const ua = navigator.userAgent
    const isPhone = /(iPhone|iPad|iPod|iOS|Android)/i.test(ua)
    if (isPhone) {
      return 'phone'
    } else {
      return 'pc'
    }
  }
}
